import request from '@/utils/request'

export function setAcitvPack(data) {
  return request({
    url: '/activPack/setAcitvPack',
    method: 'post',
    data
  })
}

export function getAcitvPack(query) {
  return request({
    url: '/activPack/getAcitvPack',
    method: 'get',
    params: query
  })
}

export function updateAcitvPack(data) {
  return request({
    url: '/activPack/updateAcitvPack',
    method: 'post',
    data
  })
}

export function deleteAcitvPack(data) {
  return request({
    url: '/activPack/deleteAcitvPack',
    method: 'post',
    data
  })
}

export function addAcitvPack(data) {
  return request({
    url: '/activPack/addAcitvPack',
    method: 'post',
    data
  })
}

export function getExCode(query) {
  return request({
    url: '/activPack/getExCode',
    method: 'get',
    params: query
  })
}
